package com.apexedu.portal.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by ITKEY on 2015/8/19.
 */
@Entity
@Table(name = "T_CALENDAR")
public class TCalendar {
    private String wid;
    private String title;
    private Date starttime;
    private Date endtime;
    private String id;
    private String url;
    private String userid;
    private String groupid;

    @Id
    @Column(name = "WID", nullable = false, insertable = true, updatable = true, length = 50)
    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Basic
    @Column(name = "TITLE", nullable = true, insertable = true, updatable = true, length = 500)
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Basic
    @Column(name = "STARTTIME", nullable = true, insertable = true, updatable = true)
    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    @Basic
    @Column(name = "ENDTIME", nullable = true, insertable = true, updatable = true)
    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    @Basic
    @Column(name = "ID", nullable = true, insertable = true, updatable = true, length = 50)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "URL", nullable = true, insertable = true, updatable = true, length = 300)
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Basic
    @Column(name = "USERID", nullable = true, insertable = true, updatable = true, length = 50)
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Basic
    @Column(name = "GROUPID", nullable = true, insertable = true, updatable = true, length = 50)
    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

}
